<div class="hocviens index">
	<h2><?php __('Hocviens');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('hv_maso');?></th>
			<th><?php echo $this->Paginator->sort('lopcn_id');?></th>
			<th><?php echo $this->Paginator->sort('taikhoan_id');?></th>
			<th><?php echo $this->Paginator->sort('hv_hoten');?></th>
			<th><?php echo $this->Paginator->sort('hv_noisinh');?></th>
			<th><?php echo $this->Paginator->sort('hv_ngaysinh');?></th>
			<th><?php echo $this->Paginator->sort('hv_diachi');?></th>
			<th><?php echo $this->Paginator->sort('hv_noicongtac');?></th>
			<th><?php echo $this->Paginator->sort('hv_dienthoai');?></th>
			<th><?php echo $this->Paginator->sort('hv_email');?></th>
			<th><?php echo $this->Paginator->sort('hv_gioitinh');?></th>
			<th><?php echo $this->Paginator->sort('hv_ngoaingu');?></th>
			<th><?php echo $this->Paginator->sort('hv_ghichu');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($hocviens as $hocvien):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $hocvien['Hocvien']['id']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_maso']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($hocvien['Lopcn']['id'], array('controller' => 'lopcns', 'action' => 'view', $hocvien['Lopcn']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($hocvien['Taikhoan']['id'], array('controller' => 'taikhoans', 'action' => 'view', $hocvien['Taikhoan']['id'])); ?>
		</td>
		<td><?php echo $hocvien['Hocvien']['hv_hoten']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_noisinh']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_ngaysinh']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_diachi']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_noicongtac']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_dienthoai']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_email']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_gioitinh']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_ngoaingu']; ?>&nbsp;</td>
		<td><?php echo $hocvien['Hocvien']['hv_ghichu']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $hocvien['Hocvien']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $hocvien['Hocvien']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $hocvien['Hocvien']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $hocvien['Hocvien']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Hocvien', true), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Lopcns', true), array('controller' => 'lopcns', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Lopcn', true), array('controller' => 'lopcns', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Taikhoans', true), array('controller' => 'taikhoans', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Taikhoan', true), array('controller' => 'taikhoans', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Canbohocviens', true), array('controller' => 'canbohocviens', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Canbohocvien', true), array('controller' => 'canbohocviens', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dangkydecuongs', true), array('controller' => 'dangkydecuongs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dangkydecuong', true), array('controller' => 'dangkydecuongs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Hocviennganhtotnghiepdhs', true), array('controller' => 'hocviennganhtotnghiepdhs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Hocviennganhtotnghiepdh', true), array('controller' => 'hocviennganhtotnghiepdhs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Qdcapbangs', true), array('controller' => 'qdcapbangs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Qdcapbang', true), array('controller' => 'qdcapbangs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thuchiendecuongs', true), array('controller' => 'thuchiendecuongs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thuchiendecuong', true), array('controller' => 'thuchiendecuongs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thuchienluanvans', true), array('controller' => 'thuchienluanvans', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thuchienluanvan', true), array('controller' => 'thuchienluanvans', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tiendodcs', true), array('controller' => 'tiendodcs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tiendodc', true), array('controller' => 'tiendodcs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tiendolvs', true), array('controller' => 'tiendolvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tiendolv', true), array('controller' => 'tiendolvs', 'action' => 'add')); ?> </li>
	</ul>
</div>